package com.sudo.boot.mapper.sys.model.bo;

import com.sudo.boot.common.constant.enums.SysJobAction;
import com.sudo.boot.common.constant.enums.SysJobResult;
import com.sudo.boot.core.pojo.PageBO;
import com.sudo.boot.core.validenum.EnumValues;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
public class SysJobLogBo extends PageBO {

    @NotNull(message = "任务ID不能为空")
    private Integer jobId;

    @EnumValues(SysJobResult.class)
    private String jobResult;

    @EnumValues(SysJobAction.class)
    private String jobAction;
}
